USE [bmig_mensual_post_cadena]
GO

IF EXISTS (SELECT name FROM sysobjects WHERE name = N'WASP_M0008_BASE_ANULADOS' AND type = 'P')
  DROP PROCEDURE WASP_M0008_BASE_ANULADOS
  
GO
CREATE PROCEDURE WASP_M0008_BASE_ANULADOS
AS

SELECT
    'H' AS TIP_REGISTRO,
     NULL AS FECHA_PROCESO,
    '000000' AS CANT_REG_ANUL,
    '00000000000000' AS TOT_PRIMA_NETA_CAJA,
    '00000000000000' AS TOT_PRIMA_BRUTA_CAJA,
    CAST('' AS CHAR(151))AS FILLER
  INTO DBO.ANULADOS_BASE
  
GO
